//The Material class

#include "Material.h"

/*Material
*	The generic Material constructor.
*Parameters:
*	none
*/
Material::Material() {
	shininess = 0;
}

//The initialized Material constructor
Material::Material(Color a, Color sp, Color d, float sh) {
	ambient = a;
	specular = sp;
	diffuse = d;
	shininess = sh;
}

/*Material
*	The Material destructor.
*/
Material::~Material() {}

//Allows for the printing of a material
ostream& operator << (ostream& os, const Material& m) {
	os << "(" << m.ambient << ", " << m.diffuse << ", " << m.specular << ", " << m.shininess << ")" << endl;
	return os;
}